$("#text2").hide(0.0001);



$(function(){
	var wrap=document.getElementById("wrap");
	touch.on(wrap,"touchstart",function(e){
		var  event1=window.event||e;
//		event1.preventDefault();
	})
	touch.on(wrap,"swipeup",function(e){

		location.href = "one.html";
	});
	touch.on(wrap,"swipedown",function(e){

		location.href = "six.html";
	});
	
	
	
	
	
	//钻石的浮动效果
	var wrap=document.getElementById("wrap")
	var star1=document.getElementById("star1");
	var star2=document.getElementById("star2");
	var star3=document.getElementById("star3");
	var star4=document.getElementById("star4");
	var star5=document.getElementById("star5");
	move(star1);
	move(star2);
	move(star3);
	move(star4);
	move(star5);
	//文字划入
	$("#text1").fadeIn(100);
	setTimeout(function(){
		$("#text2").fadeIn(3000)
	},500);
	setTimeout(function(){
		$("#text3").animate({
			left:'29%',
			top:'33%'
		},1000);
		$("#simg").animate({
			height:"70%"
		},2000)
	},1100);
	setTimeout(function(){
		$("#text4").animate({
			left:'8%',
			top:'55%'
		},1000);
		
	},1400);
	setTimeout(function(){
		$("#text5").animate({
			left:'32%',
			top:'76%'
		},1000);
		
	},1800);
	
	
	
	
	

	
})
		